package day04;

import java.util.Random;

public class MaxOfArray {
    public static void main(String[] args) {
        Random r = new Random();

        int[] arr =new int[10];
        for (int i = 0; i < arr.length; i++) {
            int number = r.nextInt(100)+1;
            arr[i] = number;
            System.out.print(arr[i] + " ");
        }
    }
}
